#include <algorithm>
#include <cstdint>
#include <cstdio>
#include <iostream>
using ll = int64_t;


int main(){
    ll n=100,k=100,m=1;
    // std::cin>>n>>k>>m;
    for(ll x=25;x<=25;x++){
        ll g=0;
        for(ll i=1;i<=k;i++){
            ll y=(n-g)/x;
            y=std::max(y,m);
            printf("(n-g)=%lld, y=%lld, x=%lld\n",n-g,y,x);
            g+=y;
        }
        printf("-- x=%lld, g=%lld\n\n",x,g);
    }
}   